package com.xcf.cloud.codeapi;

/**
 * CodeConstant <br>
 *
 * @author xiaocf <br>
 * @version 1.0 <br>
 * @date 2020/6/28 11:35 <br>
 */
public class CodeConstant {

    public static final String SERVICE_NAME = "cloud-code-svc";
    public static final String SERVICE_CONTEXT_PATH = "/code";
    public static final String SERVICE_ENDPOINT = "${cloud.code-service-endpoint:http://localhost:8080}";

    public interface Path {
        String GET_CODE_BY_EMAIL = "/{email}";
        String VALID_CODE_BY_EMAIL = "/{code}/{email}/validate";
    }
}
